<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<title>Tutorial Reservation</title>

<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" />
<meta name="author" content="Erwin Aligam - styleshout.com" />
<meta name="description" content="Site Description Here" />
<meta name="keywords" content="keywords, here" />
<meta name="robots" content="index, follow, noarchive" />
<meta name="googlebot" content="noarchive" />

<script type ="text/javascript" src="<?php echo base_url(); ?>public/js/jquery.jdpicker.js"></script>
<script type ="text/javascript" src="<?php echo base_url(); ?>public/js/dilimall.js"></script>
<script src="<?php echo base_url(); ?>public/js/jquery.tipsy.js"></script>
<script src="<?php echo base_url(); ?>public/js/jquery.js" type="text/javascript"></script>

<?php echo link_tag('public/css/default_admin.css'); ?>
</head>

<body>
<div id="wrap">
	<div id="header">							
	<!--header ends-->					
	</div>
		
	<!-- navigation starts-->	
	<div  id="nav">
		<ul id = "jsddm">
			<li><?php echo anchor('admin/announcement','Announcement');?></li>
			<li><?php echo anchor('admin/student_list','Students'); ?></li>
			<li><?php echo anchor('admin/teacher_list','Teachers'); ?></li>
			<li><?php echo anchor('admin/#','Manage'); ?>
				<ul>
				<li><?php echo anchor('admin/manage_sched', 'Schedules'); ?></li>
				<li><?php echo anchor('admin/manage_class', 'Classes'); ?></li>
				</ul>
			</li>
			<li><?php echo anchor('gate/logout', 'Logout'); ?></li>
		</ul>
	<!-- navigation ends-->	
	</div>		

<script type = "text/javascript">
	var timeout    = 500;
	var closetimer = 0;
	var ddmenuitem = 0;

	function jsddm_open(){  
		jsddm_canceltimer();
		jsddm_close();
	   	ddmenuitem = $(this).find('ul').css('visibility', 'visible');
	}

	function jsddm_close(){  
		if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');
	}

	function jsddm_timer(){  
		closetimer = window.setTimeout(jsddm_close, timeout);
	}

	function jsddm_canceltimer(){  
		if(closetimer){  
			window.clearTimeout(closetimer);
		  	closetimer = null;
		}
	}

	$(document).ready(function(){  
		$('#jsddm > li').bind('mouseover', jsddm_open)
	   	$('#jsddm > li').bind('mouseout',  jsddm_timer)
	});
	document.onclick = jsddm_close;
</script>				
			
	<!-- content starts -->
	<div id="content">
	
		<div id="main">
			<?php echo $body; ?>		

		<!-- main ends -->	
		</div>
	
	<!-- content ends-->	
	</div>
		
	<!-- footer starts -->		
	<div id="footer">
	<strong>				
			<p>Copyleft 2011: Powered by Survey Tutorial | CS 165 DMBS, UP Diliman <br>
			
			
			<a href="http://www.bluewebtemplates.com/" title="Website Templates">Website Templates</a> by <a href="http://www.styleshout.com/">Styleshout</a> |
			Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | 
			<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>   		
   		</p>				
	</strong>
	<!-- footer ends-->
	</div>

<!-- wrap ends here -->
</div>

</body>
</html>	
